package com.nnnu.wsnackshop.mapper;

import com.nnnu.wsnackshop.pojo.entity.StoreAddresses;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 门店地址表 Mapper 接口
 * </p>
 *
 * @author zk
 * @since 2025-05-19
 */
@Mapper
public interface StoreAddressesMapper extends BaseMapper<StoreAddresses> {

    @Select("select * from store_addresses where store_id = #{id}")
    List<StoreAddresses> selectByStoreId(Integer id);


    List<StoreAddresses> selectBatchListByStoreIds(@Param("ids") List<Integer> ids);

}
